package org.lc.eic.messgeconstruct.requestreply;

import java.sql.Timestamp;

public class Request<I> {
	private String destination;
	private String uniqueID;
	
	private Reply reply = new Reply();
	
	private Timestamp timestamp;
	private Timestamp expiration;
	
	private String contentType;
	private I content;
	
	private History history = new History();
	
	
	
	public static class Reply {
		private String destination;
		private String correlationID;
		public String getDestination() {
			return destination;
		}
		public void setDestination(String destination) {
			this.destination = destination;
		}
		public String getCorrelationID() {
			return correlationID;
		}
		public void setCorrelationID(String correlationID) {
			this.correlationID = correlationID;
		}
		
		
	}



	public I getContent() {
		return content;
	}



	public void setContent(I content) {
		this.content = content;
	}



	public String getContentType() {
		return contentType;
	}



	public void setContentType(String contentType) {
		this.contentType = contentType;
	}



	public String getDestination() {
		return destination;
	}



	public void setDestination(String destination) {
		this.destination = destination;
	}



	public Timestamp getExpiration() {
		return expiration;
	}



	public void setExpiration(Timestamp expiration) {
		this.expiration = expiration;
	}



	public History getHistory() {
		return history;
	}



	public void setHistory(History history) {
		this.history = history;
	}



	public Reply getReply() {
		return reply;
	}



	public void setReply(Reply reply) {
		this.reply = reply;
	}



	public Timestamp getTimestamp() {
		return timestamp;
	}



	public void setTimestamp(Timestamp timestamp) {
		this.timestamp = timestamp;
	}



	public String getUniqueID() {
		return uniqueID;
	}



	public void setUniqueID(String uniqueID) {
		this.uniqueID = uniqueID;
	}

}
